import 'package:bxultimate/data/request/organization_request.dart';
import 'package:get/get.dart';

import 'state.dart';

class OrganizationAccessRegQrcodeController extends GetxController {
  final OrganizationAccessRegQrcodeState state =
      OrganizationAccessRegQrcodeState();

  @override
  void onInit() {
    // TODO: implement onInit
    super.onInit();

    getData();
  }

  void getData() async {
    state.info =
        await OrganizationRequest.getAllCheckPointDetail(Get.arguments);
  }
}
